#pragma once
#include <SFML\Graphics.hpp>
#include "Plansza.h"

class Game
{
	public:
				Game();
		void	run();
		

	private:
		void	processEvents();
		void	update(sf::Time elapsedTime);
		void	draw();

		void	updateStatistic(sf::Time elapsedTime);

	private:

	sf::RenderWindow	mWindow;

	static const sf::Time	TimePerFrame;

	sf::Font	mFont;
	sf::Text	mStatisticsText;
	sf::Time	mStatisticsUpdateTime;

	std::size_t mStaticNumFrames;
	Plansza mPlansza;
};

